#include "MainWindow.h"
#include "DebugOutputWidget.h"

#include <QApplication>
#include <QtMessageHandler>

int main(int argc, char* argv[])
{
    QApplication a(argc, argv);

    qInstallMessageHandler(CustomMessageHandler);
    DebugOutputWidget::instance().show();

    MainWindow w;
    w.show();
    return a.exec();
}
